package com.dt.dubai.sys.service;

import com.dt.dubai.sys.entity.SysMenuOperatorEntity;
import com.dt.dubai.sys.service.innate.SysMenuOperatorSerInnateAbsImp;
import com.dt.dubai.sys.service.ser.SysMenuOperatorService;
import org.springframework.stereotype.Service;

@Service
public class SysMenuOperatorServiceImp extends SysMenuOperatorSerInnateAbsImp implements SysMenuOperatorService {

    /*innateServiceStart*/
    @Override
    protected void userSavEntity(SysMenuOperatorEntity inEntity) {

    }

    @Override
    protected void userModEntity(SysMenuOperatorEntity inEntity, SysMenuOperatorEntity upEntity) {
        upEntity.setMenuRecordId(inEntity.getMenuRecordId()); // 菜单记录ID
        upEntity.setOperatorNameEn(inEntity.getOperatorNameEn()); // 权限英文名称
        upEntity.setOperatorNameZh(inEntity.getOperatorNameZh()); // 权限中文名称
        upEntity.setOperatorIconAdds(inEntity.getOperatorIconAdds()); // 权限图标地址
        upEntity.setOperatorStatus(inEntity.getOperatorStatus()); // 状态
        upEntity.setAjaxUrl(inEntity.getAjaxUrl()); // 后端操作地址
        upEntity.setOperationType(inEntity.getOperationType()); // 按钮类型

    }
    /*innateServiceEnd*/
    /*以上内容请误删除或是移动，系统升级使用，static系统升级覆盖用户修改，用户代码请写入下方*/
}
